<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
		Remove this if you use the .htaccess -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>index</title>
		<meta name="description" content="" />
		<meta name="author" content="Base Datos" />
		<meta name="viewport" content="width=device-width; initial-scale=1.0" />
		<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
        <style type="text/css">
body{
	margin-top:1px;
	font-family:Arial, Helvetica, sans-serif;
	color:#51555C;
	height:100%;
	background: url(../img/6a.jpg);
	font-size:16px;
}
#div-regForm,.registered{	
	border:1px solid #eeeeee;
	padding:15px;
	color:#C36;
	
	margin:30px auto 40px 25px;
	width:450px;
}


</style>
	</head>
	<body>
    <div id="div-regForm">
    <div class="form-title" align="center" ><h1>Registra Reserva</h1></div>
<form name="formulario" action="../procesa/procesa_reg_hora.php" method="post">
			<table border="0">
            	<tr>
            		<td width="175" height="32">Codigo Paciente:</td>
                    <td width="236">
            		<input name="fcodp" type="text" size="28" / >
                    </td>
          		</tr>
            	<tr>
					<td height="40">Tratamiento:</td>
					<td>
			            <select name="fcodt">
			            <optgroup label="Trat. Corporal:">
	            		<option value="t004">Fis. pre–post operatoria</option>
    			        <option value="t005">Fisioterapia</option>
        			    <option value="t001">Fis. Descontracturante</option>
	            		<option value="s004">Reafirmación glúteos</option>
	            		<option value="s005">Reafirmación senos</option>
        			    <option value="t007">Antiestrías</option>
	            		<option value="s007">Fortalecimiento Muscular</option>
        			    <option value="t008">Lipocavitación</option>
        			    <option value="t009">Mesoterapia</option>
                        	<optgroup label="&nbsp;&nbsp;&nbsp;&nbsp;Adelgazamiento Corporal">
	            			<option value="s001">Geles</option>
	            			<option value="s002">Masajes</option>
	            			<option value="s003">Endermo</option>
                        	</optgroup>
                        	<optgroup label="&nbsp;&nbsp;&nbsp;&nbsp;Anticelulítico">
                            <option value="t003">Drenaje</option>
	            			<option value="s003">Endermo</option>
	            			<option value="s008">Presoterapia</option>
                        	</optgroup>
                        	<optgroup label="&nbsp;&nbsp;&nbsp;&nbsp;Modelado Corporal">
                            <option value="r002">Crioterapia</option>
	            			<option value="s002">Masaje</option>
	            			<option value="s004">Electroterapia</option>                            
                        	</optgroup>
                        	<optgroup label="&nbsp;&nbsp;&nbsp;&nbsp;Flacidez post parto">
                            <option value="r001">R F T</option>
                            <option value="t006">Colageno</option>
	            			<option value="s004">Electroterapia</option>
                            <option value="r003">Vendas Frias</option>
                            <option value="r002">Crioterapia</option>
                        	</optgroup>
                        </optgroup>
		            	<optgroup label="Trat. Facial:">
	            		<option value="t010">Limpieza facial</option>
    			        <option value="t011">Trat. piel grasa</option>
        			    <option value="t012">Trat. piel seca</option>
	            		<option value="t013">Trat. piel mixta</option>
    			        <option value="t014">Hiperpigmentación Facial</option>
        			    <option value="t015">Trat. Antiage</option>
	            		<option value="t016">Trat. Acné </option>
    			        <option value="t017">Trat. Secuelas Acne</option>
        			    <option value="t018">Microdermoabrasión</option>
        			    <option value="t019">Choco ó Fango-terapia Facial</option>
	            		<option value="r004">Velo de Colágeno</option>
    			        <option value="r005">Radiofrecuencia Tripolar</option>
    			        <option value="r006">Toxina Botulínica Tipo A</option>
		            	</optgroup>
			            <optgroup label="Trat. Alternatovos:">
	            		<option value="t020">Relajacion Corporal</option>
	            		<option value="r007">Hidroterapia</option>
    			        <option value="r008">Sauna</option>
    			        <option value="r009">Reflexología</option>
    			        <option value="u001">Choco ó Fango-terapia Corporal</option>
        			    <option value="t021">Hidratación corporal con aceites</option>
                        </optgroup>
		            	</select>
					</td>
				</tr>
           		<tr>
					<td height="40">Fecha Reserva:</td>
					<td>
			            <select name="day">
	             		<option value="0">Dia:</option>
                        <?php 
						for($i=1;$i<=31;$i++)
						echo "<option>".$i."</option>";						
						?>
    	                </select>
             
		 	            <select name="month">
	            		<option value="0">Mes</option>
                        <?php 
						for($i=1;$i<=12;$i++)
						echo "<option>".$i."</option>";						
						?>
    			        </select>
                        
	        		    <select name="year">
		    	        <option value="0">Año:</option>
                        <?php 
						for($i=2012;$i<=2030;$i++)
						echo "<option>".$i."</option>";						
						?>        
        			    </select>
					</td>
				</tr>
           		<tr>
					<td height="40">Hora:</td>
					<td>
			            <select name="codh">
	             		<option value="m001">08:00 - 08:30</option>
                        <option value="m002">08:30 - 09:00</option>
	             		<option value="m003">09:00 - 09:30</option>
                        <option value="m004">09:30 - 10:00</option>
                        <option value="m005">10:00 - 10:30</option>
                        <option value="m006">10:30 - 11:00</option>
                        <option value="m007">11:00 - 11:30</option>  
                        <option value="m008">11:30 - 12:00</option>  
                        <option value="m009">12:00 - 12:30</option>  
                        <option value="m010">12:30 - 13:00</option>  
                        <option value="m011">13:00 - 13:30</option>  
                        <option value="m012">13:30 - 14:00</option>  
	             		<option value="m013">14:00 - 14:30</option>
                        <option value="m014">14:30 - 15:00</option>
	             		<option value="m015">15:00 - 15:30</option>
                        <option value="m016">15:30 - 16:00</option>
                        <option value="m017">16:00 - 16:30</option>
                        <option value="m018">16:30 - 17:00</option>
                        <option value="m019">17:00 - 17:30</option>  
                        <option value="m020">17:30 - 18:00</option>  
                        <option value="m021">18:00 - 18:30</option>  
                        <option value="m022">18:30 - 19:00</option>  
                        <option value="m023">19:00 - 19:30</option>  
                        <option value="m024">19:20 - 20:00</option>
        			    </select>
					</td>
				</tr>
                		
				<tr>
					<td height="45"><input type="submit" value="ENVIAR"/></td>
				  <td><input  type="reset"  value="LIMPIAR"/></td>
				</tr>
			</table>
            
		</form>
		<div id="error">
			<?php
 		echo " ";
		?>
		</div>
		
	</body>
</html>